from multiprocessing import Process 

def task():
    print('process test.....')

if __name__ == "__main__":
    print('主进程执行')
    p = Process(target=task)
    p.start()
    p.join()
    print('end.........')